#!/bin/bash
input_file="$1"
output_file="$2"
[[ ! -f $input_file ]] && echo "Input \'$input_file\' is not a file!" >&2 && exit 1
printf "" > $output_file;
cat $input_file | while read line;
do
    echo "$line" | grep "^[0-9]\+$" > /dev/null && echo "break $line" >> $output_file
done
